.class Lcom/example/m6shop/AddressListActivity$MyAdapter$3;
.super Ljava/lang/Object;
.source "AddressListActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6shop/AddressListActivity$MyAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/example/m6shop/AddressListActivity$MyAdapter;


# direct methods
.method constructor <init>(Lcom/example/m6shop/AddressListActivity$MyAdapter;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6shop/AddressListActivity$MyAdapter$3;->this$1:Lcom/example/m6shop/AddressListActivity$MyAdapter;

    .line 738
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/example/m6shop/AddressListActivity$MyAdapter$3;)Lcom/example/m6shop/AddressListActivity$MyAdapter;
    .locals 1

    .prologue
    .line 738
    iget-object v0, p0, Lcom/example/m6shop/AddressListActivity$MyAdapter$3;->this$1:Lcom/example/m6shop/AddressListActivity$MyAdapter;

    return-object v0
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 8
    .param p1, "v"    # Landroid/view/View;

    .prologue
    const/4 v7, 0x0

    .line 743
    invoke-static {}, Lmyclass/Util;->isFastDoubleClick()Z

    move-result v4

    if-eqz v4, :cond_0

    .line 805
    :goto_0
    return-void

    .line 747
    :cond_0
    iget-object v4, p0, Lcom/example/m6shop/AddressListActivity$MyAdapter$3;->this$1:Lcom/example/m6shop/AddressListActivity$MyAdapter;

    # getter for: Lcom/example/m6shop/AddressListActivity$MyAdapter;->this$0:Lcom/example/m6shop/AddressListActivity;
    invoke-static {v4}, Lcom/example/m6shop/AddressListActivity$MyAdapter;->access$1(Lcom/example/m6shop/AddressListActivity$MyAdapter;)Lcom/example/m6shop/AddressListActivity;

    move-result-object v4

    # getter for: Lcom/example/m6shop/AddressListActivity;->mcontext:Landroid/content/Context;
    invoke-static {v4}, Lcom/example/m6shop/AddressListActivity;->access$1(Lcom/example/m6shop/AddressListActivity;)Landroid/content/Context;

    move-result-object v4

    const-string v5, "\u5df2\u5220\u9664"

    invoke-static {v4, v5, v7}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v4

    invoke-virtual {v4}, Landroid/widget/Toast;->show()V

    .line 749
    iget-object v4, p0, Lcom/example/m6shop/AddressListActivity$MyAdapter$3;->this$1:Lcom/example/m6shop/AddressListActivity$MyAdapter;

    # getter for: Lcom/example/m6shop/AddressListActivity$MyAdapter;->this$0:Lcom/example/m6shop/AddressListActivity;
    invoke-static {v4}, Lcom/example/m6shop/AddressListActivity$MyAdapter;->access$1(Lcom/example/m6shop/AddressListActivity$MyAdapter;)Lcom/example/m6shop/AddressListActivity;

    move-result-object v4

    # getter for: Lcom/example/m6shop/AddressListActivity;->addressBeans:Ljava/util/ArrayList;
    invoke-static {v4}, Lcom/example/m6shop/AddressListActivity;->access$0(Lcom/example/m6shop/AddressListActivity;)Ljava/util/ArrayList;

    move-result-object v4

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v5

    invoke-virtual {v4, v5}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lbean/AddressBean;

    invoke-virtual {v4}, Lbean/AddressBean;->getId()Ljava/lang/String;

    move-result-object v0

    .line 751
    .local v0, "addressid":Ljava/lang/String;
    iget-object v4, p0, Lcom/example/m6shop/AddressListActivity$MyAdapter$3;->this$1:Lcom/example/m6shop/AddressListActivity$MyAdapter;

    # getter for: Lcom/example/m6shop/AddressListActivity$MyAdapter;->this$0:Lcom/example/m6shop/AddressListActivity;
    invoke-static {v4}, Lcom/example/m6shop/AddressListActivity$MyAdapter;->access$1(Lcom/example/m6shop/AddressListActivity$MyAdapter;)Lcom/example/m6shop/AddressListActivity;

    move-result-object v4

    const-string v5, "addrInfo"

    invoke-virtual {v4, v5, v7}, Lcom/example/m6shop/AddressListActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v2

    .line 752
    .local v2, "preferences":Landroid/content/SharedPreferences;
    const-string v4, "addressid"

    const-string v5, ""

    invoke-interface {v2, v4, v5}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 753
    .local v1, "addressids":Ljava/lang/String;
    const-string v4, "\u6211\u7684\u5730\u5740ID \u4e0dddd\u4e3a\u7a7a"

    new-instance v5, Ljava/lang/StringBuilder;

    const-string v6, "__________-------------"

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v5}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 754
    const-string v4, ""

    invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_1

    .line 756
    const-string v4, "\u6211\u7684\u5730\u5740ID \u4e0d\u4e3a\u7a7a"

    const-string v5, "__________-------------"

    invoke-static {v4, v5}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 757
    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_1

    .line 759
    const-string v4, "\u6211\u7684\u5730\u5740ID \u76f8\u540c"

    const-string v5, "__________-------------"

    invoke-static {v4, v5}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 762
    iget-object v4, p0, Lcom/example/m6shop/AddressListActivity$MyAdapter$3;->this$1:Lcom/example/m6shop/AddressListActivity$MyAdapter;

    # getter for: Lcom/example/m6shop/AddressListActivity$MyAdapter;->this$0:Lcom/example/m6shop/AddressListActivity;
    invoke-static {v4}, Lcom/example/m6shop/AddressListActivity$MyAdapter;->access$1(Lcom/example/m6shop/AddressListActivity$MyAdapter;)Lcom/example/m6shop/AddressListActivity;

    move-result-object v4

    const-string v5, "addrInfo"

    invoke-virtual {v4, v5, v7}, Lcom/example/m6shop/AddressListActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v3

    .line 763
    .local v3, "userInfo":Landroid/content/SharedPreferences;
    invoke-interface {v3}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v4

    const-string v5, "username"

    const-string v6, ""

    invoke-interface {v4, v5, v6}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v4

    invoke-interface {v4}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 764
    invoke-interface {v3}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v4

    const-string v5, "addressid"

    const-string v6, ""

    invoke-interface {v4, v5, v6}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v4

    invoke-interface {v4}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 765
    invoke-interface {v3}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v4

    const-string v5, "sex"

    const-string v6, ""

    invoke-interface {v4, v5, v6}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v4

    invoke-interface {v4}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 766
    invoke-interface {v3}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v4

    const-string v5, "tel"

    const-string v6, ""

    invoke-interface {v4, v5, v6}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v4

    invoke-interface {v4}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 767
    invoke-interface {v3}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v4

    const-string v5, "addr"

    const-string v6, ""

    invoke-interface {v4, v5, v6}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v4

    invoke-interface {v4}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 779
    .end local v3    # "userInfo":Landroid/content/SharedPreferences;
    :cond_1
    iget-object v4, p0, Lcom/example/m6shop/AddressListActivity$MyAdapter$3;->this$1:Lcom/example/m6shop/AddressListActivity$MyAdapter;

    # getter for: Lcom/example/m6shop/AddressListActivity$MyAdapter;->this$0:Lcom/example/m6shop/AddressListActivity;
    invoke-static {v4}, Lcom/example/m6shop/AddressListActivity$MyAdapter;->access$1(Lcom/example/m6shop/AddressListActivity$MyAdapter;)Lcom/example/m6shop/AddressListActivity;

    move-result-object v4

    # getter for: Lcom/example/m6shop/AddressListActivity;->addressBeans:Ljava/util/ArrayList;
    invoke-static {v4}, Lcom/example/m6shop/AddressListActivity;->access$0(Lcom/example/m6shop/AddressListActivity;)Ljava/util/ArrayList;

    move-result-object v4

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v5

    invoke-virtual {v4, v5}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    .line 781
    iget-object v4, p0, Lcom/example/m6shop/AddressListActivity$MyAdapter$3;->this$1:Lcom/example/m6shop/AddressListActivity$MyAdapter;

    invoke-virtual {v4}, Lcom/example/m6shop/AddressListActivity$MyAdapter;->notifyDataSetChanged()V

    .line 783
    new-instance v4, Ljava/lang/Thread;

    new-instance v5, Lcom/example/m6shop/AddressListActivity$MyAdapter$3$1;

    invoke-direct {v5, p0, v0}, Lcom/example/m6shop/AddressListActivity$MyAdapter$3$1;-><init>(Lcom/example/m6shop/AddressListActivity$MyAdapter$3;Ljava/lang/String;)V

    invoke-direct {v4, v5}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    .line 803
    invoke-virtual {v4}, Ljava/lang/Thread;->start()V

    goto/16 :goto_0
.end method
